import Api from 'api';
class WebApi {
    queryAfterSaleDetail = (tid = '') => Api({
        url: `/apply/afterSale/${tid}`,
        method: 'GET'
    })

    /**
     * 退货申请
     */
    applyAfterSale = (params = {}) => Api({
        url: `/apply/afterSale`,
        method: 'POST',
        body: Object.assign({}, params)
    })
}
export default new WebApi();